<template>
  <div class="send">
    <!-- 左上角图标 -->
    <router-link to="/">
    <van-icon style="font-size: 30px; color: #6b7474" name="cross" />
    </router-link>
    <!-- 中间内容区域 -->
    <div class="sendbox">
      <div class="firstInput">
        <van-icon style="font-size: 35px" name="contact" />
        <input
          class="username"
          type="text"
          placeholder="请输入您的用户名/手机号"
          v-model="username"
        />
      </div>
      <div class="lastInput">
        <van-icon  style="font-size: 35px" name="lock" />
        <input
          class="password"
          type="password"
          placeholder="请输入登陆密码"
          v-model="password"
        />
      </div>
      <button class="login" @click="send">登录</button>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      username: "",
      password: "",
    };
  },
};
</script>
<style scoped lang="less">
* {
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.send {
  width: 100%;
  height: 100%;
  background-color: #fff;
 
  .sendbox {
    width: 80%;
    height: 80%;
    // border: 1px solid red;
    position: fixed;
    bottom: 0;
    left: calc(50% - 40%);
    text-align: center;
//      display: flex;
//   flex-wrap: wrap;
//   align-items: flex-start;
//   justify-content: center;
    .firstInput {
      width: 100%;
      height: 40px;
      display: flex;
      border-bottom: 1px solid #6b7474;
      margin-bottom: 20px;
      .username {
        outline: none;
        border: 0;
      }
    }
    .lastInput{
         width: 100%;
      height: 40px;
      display: flex;
      border-bottom: 1px solid #6b7474;
       .password {
        outline: none;
        border: 0;
      }
    }
    .login{
        width: 50%;
        height: 8%;
        border: 1px solid red;
        background-color: red;
        border-radius: 15px;
        color: #fff;
        text-align: center;
        margin-top: 20px;
        // marg;
    }
  }
}
</style>